import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/home',
    name: 'home',
    component: HomeView
  },
  {
    path: '/about',
    name: 'about',
    component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
  },
  {
    path: "/prctive",
    name: "prctive",
    component: () => import(/* webpackChunkName: "prctive" */ "../views/prctive.vue")
  },{
    path:"/",
    name:"homework",
    component:()=>import(/* webpackChunkName: "homework" */ "../views/homeWork.vue")
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
